package com.itheima.qingcheng.mapper;

import com.github.pagehelper.Page;
import com.itheima.qingcheng.pojo.Brand;
import com.itheima.qingcheng.pojo.BrandQuery;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author zhangzhen
 * @version 1.0
 * @date 2025/1/21 9:28
 */
@Mapper
public interface BrandMapper {
    Page<Brand> findPage(BrandQuery brandQuery);

    void insert(Brand brand);

    void update(Brand brand);

    void deleteById(Integer id);

   Brand selectById(Integer id);
}
